import request from '@/utils/request.js';
export const visit = async (data) => {
  return request({
    url: '/pc/Visit/index',
    method: 'post',
    data,
  });
};
export const addVisit = async (data) => {
  return request({
    url: '/pc/Visit/add',
    method: 'post',
    data,
  });
};
export const deleteVisit = async (data) => {
  return request({
    url: '/pc/visit/del',
    method: 'post',
    data,
  });
};
export const check_list = async (data) => {
  return request({
    url: '/pc/check/index',
    method: 'post',
    data,
  });
};
export const check_add = async (data) => {
  return request({
    url: '/pc/check/add',
    method: 'post',
    data,
  });
};
export const visit_detail = async (data) => {
  return request({
    url: '/pc/Visit/details',
    method: 'post',
    data,
  });
};